package futures

fun main() {
    log("a", "b", "c", "d")
}

fun printAll(vararg messages: String) {
    for (m in messages) {
        println(m)
    }
}

fun log(vararg entries: String) {
    printAll(*entries)
}